package com.why.pojo;

import java.io.Serializable;

//老人表
public class OldMan implements Serializable {
    private Integer id;

    private String username;

    private Integer sex;

    private Integer age;

    private Integer bedid;

    private String address;

    private String contractno;

    private Integer iddelete;

    private String identitycode;

    private Integer status;

    private Integer nursingworkersid;

    //床位编号
    private Integer bedNumber;

    //ic卡金额
    private Double money;

    public Integer getBedNumber() {
        return bedNumber;
    }

    public void setBedNumber(Integer bedNumber) {
        this.bedNumber = bedNumber;
    }

    public Double getMoney() {
        return money;
    }

    public void setMoney(Double money) {
        this.money = money;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username == null ? null : username.trim();
    }

    public Integer getSex() {
        return sex;
    }

    public void setSex(Integer sex) {
        this.sex = sex;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public Integer getBedid() {
        return bedid;
    }

    public void setBedid(Integer bedid) {
        this.bedid = bedid;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address == null ? null : address.trim();
    }

    public String getContractno() {
        return contractno;
    }

    public void setContractno(String contractno) {
        this.contractno = contractno == null ? null : contractno.trim();
    }

    public Integer getIddelete() {
        return iddelete;
    }

    public void setIddelete(Integer iddelete) {
        this.iddelete = iddelete;
    }

    public String getIdentitycode() {
        return identitycode;
    }

    public void setIdentitycode(String identitycode) {
        this.identitycode = identitycode == null ? null : identitycode.trim();
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getNursingworkersid() {
        return nursingworkersid;
    }

    public void setNursingworkersid(Integer nursingworkersid) {
        this.nursingworkersid = nursingworkersid;
    }
}